<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=7" />
<title>{if isset($SEO['title']) && !empty($SEO['title'])}{$SEO['title']}{/if}{$SEO['site_title']}</title>
<meta name="keywords" content="{$SEO['keyword']}">
<meta name="description" content="{$SEO['description']}">
<link href="{CSS_PATH}photo.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="{JS_PATH}jquery.min.js"></script>
<script type="text/javascript" src="{JS_PATH}jquery.sgallery.js"></script>
</head>
<body>
{template "content","header"}
<div class="banner w980"><img src="{IMG_PATH}web/banner.jpg" width="984" height="300" /></div>
<!--main-->
<div class="main Photo w980">
	<div class="rb-1">
		<div class="slide-v5 _float">
			{pc:content action="position" posid="2" thumb="1" order="listorder DESC" num="5"}
			<div class="_float" style="position:relative;">
				<ul class="pics">
					{loop $data $k $v}
					<li><a href="{$v[url]}" title="{$v[title]}"><img src="{thumb($v[thumb], 550, 375)}" width="550" height="375" alt="{$v[title]}" /></a></li>
					{/loop}
				</ul>
				<div class="title">
					{loop $data $k $v}
					<p {if $n==1}style="display:block"{/if}>
						<strong><a href="{$v[url]}" title="{$v[title]}" {title_style($v[style])}>{str_cut($v[title], 36)}</a></strong><br />
						{str_cut(strip_tags($v[description]), 102)}
					</p>
					{/loop}
				</div>
			</div>
			<ul class="thumb">
				{loop $data $k $v}
				<li {if $n==1}class="on" style="margin:0"{/if}><a href="{$v[url]}"><img src="{thumb($v[thumb], 105, 66)}"  alt="{$v[title]}" width="105" height="66" /></a></li>
				{/loop}
			</ul>
			{/pc}
		</div>
		<div class="aside _floatr">
			<div class="pic"><a href="{APP_PATH}index.php?m=content&c=index&a=lists&catid=1" target="_blank"><img src="{IMG_PATH}web/me.jpg" /></a></div>
			<h5>冉隆禄简介</h5>
			<div class="intro">
				{pc:block pos="about-me"}
				{/pc}
			</div>
		</div>
		<div class="_clear"></div>
	</div>
	<div class="rb-2">
		<div class="summary">
			{pc:block pos="summary"}
			{/pc}
		</div>
	</div>
	<div class="rb-3 works">
		{php $chlidids = explode(',', $CATEGORYS[5][arrchildid])}
		{php unset($chlidids[0]);$n=1;}
		{loop $chlidids $cid}
		<div class="item">
			<div class="title">
				<h5>{$CATEGORYS[$cid][catname]}</h5>
				<span class="more _floatr"><a href="{$CATEGORYS[$cid][url]}" title="查看本专辑图集">更多..</a></span>
				<div class="_clear"></div>
			</div>
			<div class="list">
				<ul>
					{pc:content action="lists" catid="$cid" num="10" order="id DESC"}
					{loop $data $r}
					<li>
						<div class="iwrap">
							<a href="{$r[url]}" title="{$r[title]}" target="_blank"><img src="{thumb($r[thumb],150,112)}" /></a>
						</div>
						<a href="{$r[url]}" title="{$r[title]}" target="_blank">{str_cut($r[title],42)}</a>
					</li>
					{/loop}
					{/pc}
				</ul>
				<div class="_clear"></div>
			</div>
		</div>
		{/loop}
	</div>
</div>
<script type="text/javascript">
function ChannelSlide(Name,Class){
	$(Name+' ul.pics li').sGallery({
		titleObj:Name+' div.title p',
		thumbObj:Name+' .thumb li',
		thumbNowClass:Class
	});
}
new ChannelSlide(".slide-v5","on");
</script>
{template "content","footer"}
</body>
</html>
